package com.e3.basdoc.warehouse.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.e3.core.base.SuperOCEntity;

@Entity
@Table(name="T_WAREHOUSE")
public class WarehouseEntity extends SuperOCEntity{
	private static final long serialVersionUID = -3490577507462281438L;
	
	private String code;
	
	private String name;
	
	private int type;
	
	private String administrator;
	
	private String contractWay;
	
	private int status;
	
	@Column(name="CODE")
	public String getCode(){
		return this.code;
	}
	
	public void setCode(String code){
		this.code = code;
	}
	
	@Column(name="NAME")
	public String getName(){
		return this.name;
	}
	
	public void setName(String name){
		this.name = name;
	}
	
	@Column(name="TYPE")
	public int getType(){
		return this.type;
	}
	
	public void setType(int type){
		this.type = type;
	}
	
	@Column(name="ADMINISTRATOR")
	public String getAdministrator(){
		return this.administrator;
	}
	
	public void setAdministrator(String administrator){
		this.administrator = administrator;
	}
	
	@Column(name="CONTRACT_WAY")
	public String getContractWay(){
		return this.contractWay;
	}
	
	public void setContractWay(String contractWay){
		this.contractWay = contractWay;
	}

	@Column(name="STATUS")
	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

}
